{assign name="field" value=":sp_page(57)"}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{$field['column_title']} - {$site_title}</title>
    <meta name="keywords" content="{$field['column_keywords']}">
    <meta name="description" content="{$field['column_description']}">
</head>
<body>
    {include file="cn/include/header"}
    <div>
        <h2>留言栏目图片</h2>
        {assign name="list" value=":sf_imgslist($field['column_image'])"}
        <table>
            <tr>
                {volist name="list" id="vo"}
                    <td><img src="{$vo['file_path']}" height="50"></td>
                {/volist}
            </tr>
        </table>
    </div>
    <hr>
    <div>
        <h2>留言栏目描述</h2>
        {$field['column_details']|raw}
    </div>

    <div>
        <form action="{:url('/api/wsmessage')}" method="post">
            <input type="hidden" name="siteid" value="1">
            <input type="hidden" name="columnid" value="57">
            <table>
                <tr>
                    <td>姓名：</td>
                    <td><input type="text" name="name" placeholder="姓名"></td>
                </tr>
                <tr>
                    <td>电话：</td>
                    <td><input type="text" name="phone" placeholder="手机/座机"></td>
                </tr>
                <tr>
                    <td>邮箱：</td>
                    <td><input type="text" name="email" placeholder="邮箱"></td>
                </tr>
                <tr>
                    <td>主题：</td>
                    <td><input type="text" name="title" placeholder="主题"></td>
                </tr>
                <tr>
                    <td>留言：</td>
                    <td><textarea name="desc" placeholder="留言内容"></textarea></td>
                </tr>
                <tr>
                    <td>验证码：</td>
                    <td><input type="text" name="captcha" placeholder="验证码"></td>
                    <td>{:captcha_img()}</td>
                </tr>
                <tr>
                    <td></td>
                    <td><button type="submit">提交留言</button></td>
                </tr>
            </table>
        </form>
    </div>
    
    {include file="cn/include/footer"}
</body>
</html>